package com.CoreryBlack.service;

import com.CoreryBlack.po.*;

import java.util.List;

/**
 * @Description ClazzService
 * @Author CoreryBlack
 * @Date 2024-09-19
 */
public interface ClazzService {

    //删除班级
     void deleteById(Integer id) throws IllegalAccessException;
    //查询所有班级
    List<Clazz> queryString();
    //分页查询
    PageBean list(ClazzQueryParam clazzQueryParam);
    //新增班级
    void saveClazz(Clazz clazz);
    //修改班级
    void updateClazz(Clazz clazz);
    //根据id查询班级
    Clazz queryById(Integer id);

    Clazz getInfo(Integer id);

    boolean hasStudents(Integer clazzId);

}
